package com.gxa.mapper.shezhimapper;

import com.gxa.pojo.QuanXian;
import com.gxa.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author weishen
 */
public interface QuanXianMapper {

    int deleteQuanXianById(@Param("user_id") int user_id,@Param("quanXianId") int quanXianId);
    int insertQuanXian(@Param("user_id") int user_id,@Param("quanXianId") int quanXianId);
    List<QuanXian> selectAllQuanXian();
    List<User> selectAllUserAndQuanXianForPage(@Param("index") int index,@Param("size") int size);
    int insertUser(User user);
    int updateQuanXianLogin(@Param("user_id") int user_id,@Param("quanXianLogin") int quanXianLogin);
    int updatePasswordById(@Param("user_id") int user_id,@Param("password") String password);
}
